/**
 * Created by chengming on 18/5/27.
 * version 1.0
 */
const ArticleHrefAdapter = require('../ArticleHrefAdapter');
const cheerio = require('cheerio');
const urlTool = require('url');

/**
 * 中国央行
 * @type {module.Bjp2p}
 */
module.exports = class PBOCnews extends ArticleHrefAdapter {


  parseHtml(html, linkRule) {
    //将解析后的内容加载进解析器
    let $ = cheerio.load(html);
    console.log('@html: ---', html)
    let contents = [];
    let rangeText = '';
    let encoding = this.encoding;
    let that = this
    $(this.linkRule).each(function () {

    });
    return {
      rangeText: rangeText,
      contents: contents
    };
  }


}
